package com.ldl.exam.dao;

import com.ldl.exam.entity.ExamPaper;
import com.ldl.exam.entity.ExamPaperExample;
import com.ldl.exam.entity.ExamPaperWithBLOBs;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExamPaperMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ExamPaperWithBLOBs record);

    int insertSelective(ExamPaperWithBLOBs record);

    List<ExamPaperWithBLOBs> selectByExampleWithBLOBs(ExamPaperExample example);

    List<ExamPaper> selectByExample(ExamPaperExample example);

    ExamPaperWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ExamPaperWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ExamPaperWithBLOBs record);

    int updateByPrimaryKey(ExamPaper record);

}